package com.hongxun.modules.api.dao;

import com.hongxun.modules.api.entity.BDataDictionaryEntity;
import com.hongxun.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 数据字典
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-07-23 10:03:57
 */
@Mapper
public interface BDataDictionaryDao extends BaseDao<BDataDictionaryEntity> {
    @Select("Select d_value from b_data_dictionary WHERE d_code =#{d_code} and d_key=#{d_key} limit 1 ")
     String  selectvaluebykey(@Param("d_code") String d_code,@Param("d_key") String d_key);
}
